import {View} from "@tarojs/components";
import Taro from "@tarojs/taro";
import './index.scss'

function Index() {
  //点击更换
  const btn = ()=>{
    Taro.navigateTo({
      url:'/pages/changeAccount/index'
    })
  }
  return (
    <View>
      <View style={{backgroundColor:'#fff',height:'80px',lineHeight:'80px'}}>
        <View className='iconfont icon-xiangzuo' style={{position:'absolute',top:'0',left:'0',fontSize:'22px',paddingTop:'6px',display:'flex'}}
              onClick={()=>Taro.navigateBack()}>
          <View style={{fontSize:'14px',paddingLeft:'4px'}}>收款账号</View>
        </View>
        <View style={{textAlign:'center',width:'100%'}}></View>
      </View>
      <View className='text'>你的支付宝收款信息</View>
      <View className='list'>
        <View className='item'>
          <View className='title'>姓名：</View>
          <View>王小谧</View>
        </View>
        <View className='item'>
          <View className='title'>账号：</View>
          <View>wangxiaom@126.com</View>
        </View>
      </View>
      <View className='btn' onClick={btn}>更换</View>
    </View>
  );
}

export default Index;
